home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / c / c-tools-.000 / c-tools- / c-tools-0.4 / obscure.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-13  |  4.0 KB  |  116 lines

  1. /* $Id: obscure.h,v 1.6 1995/08/08 11:52:34 sandro Exp $ */
  2.  
  3. /* This program is free software; you can redistribute it and/or modify
  4.    it under the terms of the GNU General Public License as published by
  5.    the Free Software Foundation; either version 2 of the License, or
  6.    (at your option) any later version.
  7.  
  8.    This program is distributed in the hope that it will be useful,
  9.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.    GNU General Public License for more details.
  12.  
  13.    You should have received a copy of the GNU General Public License
  14.    along with this program; if not, write to the Free Software
  15.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16.  
  17.  
  18. /* reserved keywords and Standard C library stuff */
  19.  
  20. static char *
  21. reserved_ids[] =
  22. {
  23.     /* keywords */
  24.     "auto", "break", "case", "char", "const", "continue",
  25.     "default", "do", "double", "else", "enum", "extern",
  26.     "float", "for", "goto", "if", "int", "long", "register",
  27.     "return", "short", "signed", "sizeof", "static", "struct",
  28.     "switch", "typedef", "union", "unsigned", "void", "volatile",
  29.     "while",
  30.  
  31.     /* assert.h */
  32.     "assert",
  33.  
  34.     /* ctype.h */
  35.     "isalnum", "isalpha", "iscntrl", "isdigit", "isgraph",
  36.     "islower", "isprint", "ispunct", "isspace", "isupper",
  37.     "isxdigit", "tolower", "toupper",
  38.  
  39.     /* errno.h */
  40.     "errno",
  41.  
  42.     /* locale.h */
  43.     "localeconv", "setlocale",
  44.     "LC_ALL", "LC_COLLATE", "LC_CTYPE", "LC_MONETARY", "LC_NUMERIC",
  45.     "LC_TIME", "lconv",
  46.  
  47.     /* math.h */
  48.     "acos", "asin", "atan", "atan2", "ceil", "cos", "cosh", "exp",
  49.     "fabs", "floor", "frexp", "ldexp", "fmod", "log", "log10",
  50.     "modf", "pow", "sin", "sinh", "sqrt", "tan", "tanh",
  51.     "EDOM", "ERANGE", "HUGE_VAL",
  52.  
  53.     /* setjmp.h */
  54.     "longjmp", "setjmp",
  55.     "jmp_buf",
  56.  
  57.     /* signal.h */
  58.     "raise", "signal",
  59.     "sig_atomic_t", "SIGABRT", "SIGFPE", "SIGILL", "SIGINT", "SIGSEGV",
  60.     "SIGTERM", "SIG_DFL", "SIG_ERR", "SIG_IGN",
  61.  
  62.     /* stdarg.h */
  63.     "va_arg", "va_end", "va_start",
  64.     "va_list",
  65.  
  66.     /* stddef.h */
  67.     "offsetof",
  68.     "NULL", "ptrdiff_t", "size_t", "wchar_t",
  69.  
  70.     /* stdio.h */
  71.     "clearerr", "close", "create", "fclose", "feof", "ferror", "fflush",
  72.     "fgetc", "fgetpos", "fgets", "fopen", "fpos_t", "fprintf", "fputc",
  73.     "fputs", "fread", "freopen", "fscanf", "fseek", "fsetpos", "ftell",
  74.     "fwrite", "getc", "getchar", "gets", "perror", "printf", "putc",
  75.     "putchar", "puts", "remove", "rename", "rewind", "scanf", "setbuf",
  76.     "setvbuf", "sprintf", "sscanf", "tmpfile", "tmpnam", "ungetc","vfprintf",
  77.     "vprintf", "vsprintf",
  78.     "FILE", "fpos_t", "_IOFBF", "_IOLBF", "_IONBF", "BUFSIZ", "EOF",
  79.     "FILENAME_MAX", "FOPEN_MAX", "L_tmpnam", "SEEK_CUR", "SEEK_END",
  80.     "SEEK_SET", "stderr", "stdin", "stdout", "TMP_MAX",
  81.  
  82.     /* stdlib.h */
  83.     "abort", "abs", "atof", "atoi", "atol", "bsearch", "calloc", "div",
  84.     "exit", "free", "getenv", "labs", "ldiv", "malloc", "mblen", "mbstowcs",
  85.     "mbtowc", "qsort", "rand", "realloc", "srand", "strtod", "strtol",
  86.     "strolul", "wcstombs", "wctomb",
  87.     "div_t", "ldiv_t", "EXIT_FAILURE", "EXIT_SUCCESS", "MB_CUR_MAX",
  88.     "MB_LEN_MAX", "RAND_MAX",
  89.  
  90.     /* string.h */
  91.     "memchr", "memcmp", "memcpy", "memmove", "memset", "perror", "strcat",
  92.     "strchr", "strcmp", "strcoll", "strcpy", "strcspn", "strerror", "strlen",
  93.     "strncat", "strncmp", "strncpy", "strpbrk", "strrchr", "strspn", "strstr",
  94.     "strtok", "strxfrn",
  95.  
  96.     /* time.h */
  97.     "asctime", "clock", "ctime", "difftime", "gmtime", "localtime", "mktime",
  98.     "strftime", "time",
  99.     "clock_t", "time_t", "tm", "CLK_TCK",
  100.  
  101.     "main",
  102.     0
  103. };
  104.  
  105. static char *
  106. silly_words[] =
  107. {
  108.     "foo", "bar", "baz", "quux", "fred", "dog", "cat", "fish", "computer",
  109.     "GNU", "FSF", "GPL", "nice", "bad", "bug", "silly", "buggy", "mum",
  110.     "dad", "sister", "mother", "brother", "father", "disk", "empty", "full",
  111.     "bash", "ksh", "zsh", "sh", "tcsh", "csh", "begin", "end", "help",
  112.     "fast", "small", "big", "nothing", "unknown", "sorry", "because", "please",
  113.     "hey", "ok", "hello", "bye",
  114.     0
  115. };
  116.